package com.teamclub.domain.system;

import io.ebean.Finder;
import io.ebean.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by ilkkzm on 17-8-11.
 */
@Entity
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class AppRole extends Model{
    @Id
    private Integer id;

    private String name;

    private String organNo;

    private String funcTreeRef; //

    private String roleKey;

    public static Finder<Integer, AppRole> finder = new Finder<>(AppRole.class);

}
